package com.xiaozhou.leetCode;

import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.ibm.icu.text.Transliterator;
import lombok.Data;

import java.io.File;
import java.util.ArrayList;
import java.util.List;


@Data
public class PolicyChangeLogDetailExportVo {

    @ExcelProperty("保单号")
    private String policyNo;
    @ExcelProperty("变更类型")
    private String changeTypeName;

    @ExcelProperty("保险公司")
    private String companyName;

    @ExcelProperty("服务经纪公司")
    private String producingBroker;

    @ExcelProperty("原经纪公司")
    private String servicingBroker;

    /**
     * 模块
     */
    @ExcelProperty("模块")
    private String model;


    /**
     * 字段
     */
    @ExcelProperty("字段")
    private String field;

    /**
     * 旧值
     */
    @ExcelProperty("旧值")
    private String oldValue;

    /**
     * 新值
     */
    @ExcelProperty("新值")
    private String newValue;

    /**
     * 操作人
     */
    @ExcelProperty("操作人")
    private String operator;

    /**
     * 操作人工号
     */
    @ExcelProperty("操作人工号")
    private String operatorCode;

    /**
     * 操作时间
     */
    @ExcelProperty("操作时间")
    private String gmtCreated;

    public static void main(String[] args) {
                   String text = "曹俊曹駿回電話你知道嗎你知道吗包搞到手有誰一定要瑞士的人獲得過共和黨含繁體字的文本";
                   Transliterator transliterator = Transliterator.getInstance("Traditional-Simplified");
                   Transliterator transliterator1 = Transliterator.getInstance("Simplified-Traditional");
                   String simplifiedText = transliterator.transliterate(text);
                   System.out.println("转换前文本：" + text);
                   System.out.println("转换后文本：" + simplifiedText);
                   System.out.println(transliterator1.transliterate(text));
    }
}
